using System.Collections.Generic;
using System.Threading.Tasks;
using AvaloniaMvvm.Models;

namespace AvaloniaMvvm.Services;

public interface IPoetryStorage {
    Task InsertAsync(Poetry poetry);

    Task<IList<Poetry>> ListAsync();

    Task<IList<Poetry>> QueryAsync(string keyword);
}